﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChromaCode.Models
{
    /// <summary>
    /// A rule that searches for a block of text that starts with a certain character set and ends with another character set
    /// </summary>
    internal class GroupRule : Rule
    {
        /// <summary>
        /// The starting string
        /// </summary>
        public string StartString
        {
            get;
            set;
        }

        /// <summary>
        /// The ending string
        /// </summary>
        /// <remarks>If this is set to string.empty then the highlight rule applys to a whole line starting with StartString</remarks>
        public string EndString
        {
            get;
            set;
        }
    }
}
